package com.dk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableDiscoveryClient     //开启nacos自动注册服务于发现
@EnableSwagger2            //接口文档
@MapperScan("com.dk.mapper")      //必须添加注解扫描mapper 或者可以在每一个mapper类上加上@Mapper但是太麻烦   看自己选择
public class QcIqcApp {
    public static void main(String[] args) {
        SpringApplication.run(QcIqcApp.class,args);
    }
}
